package message;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class AddServerResponseMessage extends Message
{
	private static final long serialVersionUID = 1L;
	private ArrayList<String> ipAddresses;

	public AddServerResponseMessage()
	{
		ipAddresses = new ArrayList<String>();
	}
	public void addIP(String ip)
	{
		ipAddresses.add(ip);
	}
	public ArrayList<String> getIpAddresses()
	{
		return ipAddresses;
	}
	@XmlElement(name = "ip", required = true)
	public void setIpAddresses(ArrayList<String> ipAddresses)
	{
		this.ipAddresses = ipAddresses;
	}
}
